-
Notifications
You must be signed in to change notification settings - Fork 28
Conversation
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
@liamchampton or @tobespc could you review this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good but have left a few comments for changes. Please can you also specify how these changes have been tested in the PR comment box as i am still working on getting tests into Jenkins.
@@ -52,9 +53,9 @@ func DownloadTemplate(c *cli.Context) { | |||
|
|||
// Remove invalid characters from the string we will use | |||
// as the project name in the template. | |||
r := regexp.MustCompile("[^a-zA-Z0-9._-]"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good spot!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was actually the auto-linter that changed this :)
} | ||
log.Printf("Please wait while the Appsody project is initialized... %s \n", output.String()) | ||
log.Printf("Please wait while the project is initialized... %s", output.String()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be fmt.Printf()
as this is currently going to stderr by default and not stdout
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I needed to revert this back to log
. Because stdout needed to be json only because it is parsed by IDE
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
@liamchampton I tested this change with https://github.com/makandre/codewind-appsody-extension/blob/ext_cmd/codewind.yaml On mac, I built the installer and copied it to the location where VSCode plugin puts the installer (alongside appsody CLI). Then I invoked it on an appsody project:
From that I'm able to see the @sghung did similar testing on Windows |
Signed-off-by: Andrew Mak <[email protected]>
Also, for error case (PFE not running):
|
Signed-off-by: Andrew Mak <[email protected]>
Signed-off-by: Andrew Mak <[email protected]>
Ported part of fix #126 to this PR for master |
@liamchampton any other changes required for this PR? |
Signed-off-by: Andrew Mak <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me. @mattcolegate would you mind having a look over this as you were the last to edit this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes look good, thank you
For eclipse-archived/codewind#442
Also fixes eclipse-archived/codewind#445